#ifndef Log_H
#define Log_H

#include <plog/Log.h>
#include <plog/Appenders/ColorConsoleAppender.h>
#include <plog/Formatters/MessageOnlyFormatter.h>
#include <plog/Formatters/FuncMessageFormatter.h>


#include <iostream>

class ParallelMPI;


#define log_trace   PLOG_DEBUG
#define log_debug   PLOG_DEBUG
#define log_info    PLOG_INFO
#define log_warning PLOG_WARNING
#define log_error   PLOG_ERROR
#define log_fatal   PLOG_DEBUG

#define log_title(...) {log_info<<std::endl; log_info<<__VA_ARGS__; log_info<<"--------------------------------------------------";}


class Log
{
public:
    Log(ParallelMPI* pmpi);
};

#endif // LOG_H
